home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000358_fdc@columbia.edu_Thu Oct 30 12:48:23 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 30 Oct 2003 17:35:37 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067535337 27275 128.59.59.56 (30 Oct 2003 17:35:37 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Oct 2003 17:35:37 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14612
In article <f0bb0f39.0310300922.3c050ba8@posting.google.com>,
newexpectuser wrote:
: I have a kermit script that logs onto a secure ftp server (via ssh),
: when I issue the open command, it waits for a password.
:
: How can I pass this password from within the kermit script, so it
: automatically logs me on ?
:
: Also, is there a way to check if I cannot make a connection ?
:
Last first: Only by trying it.
As to the password, see:
http://www.columbia.edu/kermit/ckermit80.html#x2.1
Briefly, SSH is an "external transport protocol" to C-Kermit. It is the
external SSH program that is prompting you for the password, and there is
usually no way to script it; it depends on the SSH client. The only sure
way to avoid a password prompt is to set up public-private key pairs to
allow login without a password, but this has its own risks.
- Frank